package com.fund.api.client;

import com.fund.api.entity.ClientVO;
import com.fund.common.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("client-service")
public interface ClientsClient {
    @GetMapping("/client")
    public Result<ClientVO> findById(@RequestParam Long id);
}
